﻿using System;
using UnityEngine;

// Token: 0x02000002 RID: 2
[RequireComponent(typeof(Camera))]
[AddComponentMenu("AQUAS/AQUAS Camera")]
public class AQUAS_Camera : MonoBehaviour
{
	// Token: 0x06000002 RID: 2 RVA: 0x00002058 File Offset: 0x00000258
	private void Start()
	{
		this.Set();
	}

	// Token: 0x06000003 RID: 3 RVA: 0x00002060 File Offset: 0x00000260
	private void Set()
	{
		if (base.GetComponent<Camera>().depthTextureMode == DepthTextureMode.None)
		{
			base.GetComponent<Camera>().depthTextureMode = DepthTextureMode.Depth;
		}
	}
}
